<?php


function demo($site = null)
{
    static $a = 0;
    $a = $a + $site;
    echo $a;
}

demo(1);
demo(1);
